<div class="container">
    <div class="logo">
      <a href="{:url('admin/index/index')}">{$System.SiteName.value}</a>
    </div>

    <div class="left_open">
        <i title="展开左侧栏" class="iconfont">&#xe699;</i>
    </div>

    <ul class="layui-nav right">
      <li class="layui-nav-item">
        <a href="javascript:;">{$Think.session.LoginAdmin.nickname}</a>
        <dl class="layui-nav-child">
          <dd>
            <a onClick="x_admin_show('个人信息',`{:url('admin/index/main')}`)">个人信息</a>
          </dd>

          <dd>
            <a href="{:url('admin/index/logout')}">退出</a>
          </dd>
        </dl>
      </li>

      <li class="layui-nav-item to-index">
        <a href="{:url('home/index/index')}" target="_blank">前台首页</a>
      </li>
    </ul>
</div>